package com.itheima.edu.info.manager.controller;

import com.itheima.edu.info.manager.domain.Student;
import com.itheima.edu.info.manager.service.StudentService;

import java.util.Scanner;

public class OtherStudentController extends BascStudentController {
    @Override
    public Student outInfo(String id){
        System.out.println("请输入学生姓名:");
        String name = sc.nextLine();
        System.out.println("请输入学生年龄:");
        String age = sc.nextLine();
        System.out.println("请输入学生生日:");
        String birthday = sc.nextLine();
        //创建对象
        Student stu = new Student(id,name,age,birthday);

        return stu;
    }

}
